package unit6.part7;

import java.util.LinkedHashMap;
import java.util.Map;

public class Main {
    public static void main(String[] args) {
        Map<String, Integer> rwdPool = new LinkedHashMap<>();
        rwdPool.put("特等奖：￥5000", 1);
        rwdPool.put("一等奖：华为Mate", 4);
        rwdPool.put("二等奖：格力吸尘器", 6);
        rwdPool.put("阳光普照奖：家庭大礼包", 100);
        // 想一想，能否使用HashMap、TreeMap

        DrawReward dr = new DrawReward(rwdPool);
        dr.drAward();
        dr.drAward();
        dr.drAward();
        dr.showSurplus();
    }
}
